package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.SysPermissionQueryDTO;
import com.cddx.logistics.domain.pojo.SysPermission;
import com.cddx.logistics.domain.vo.SysPermissionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SysPermissionMapper {
    List<SysPermissionVO> queryPage(SysPermissionQueryDTO sysPermission);

    int delete(Integer id);

    int add(SysPermission sysPermission);

    int update(SysPermission sysPermission);
}
